import Mock from 'mockjs'

let template = {
  'data|10': [
    {
      'id|+1': 1,
      'image': '@image()',
      'title': '@ctitle(10,20)',
      'classify': '@cword(2)',
      'paragraph': '@cparagraph',
      'avatar': '@image(24x24,@color)',
      'author': '@cword(3,8)',
      'time|1-60': 60,
      'upvote|1-1000': 1000
    }
  ]

}

export default Mock.mock(template).data
